package cn.sm1234;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
@ServletComponentScan  //作用：让springboot扫描@webservlet注解
public class Application {

    public static void main(String[] args){
        SpringApplication.run(Application.class, args);
    }
}
